const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  devServer: {
    proxy: {
      '/api': {
        target: 'http://47.104.167.34:9110', 
        changeOrigin: true, 
        ws: false,//实时通信 
        pathRewrite: { '^/api': '' },//这是移除路径中的/api前缀
      }
    }
  }
})